import Vue from 'vue';
import Router from './router';
import Main from './main.vue';
import { requestData } from '@/api';
Vue.prototype.$ajax = requestData;
Router.beforeEach((to, from, next) => {
  next();
});

new Vue({
  el: '#app',
  render: h => h(Main),
  router: Router
});

